isPropertyAnimatable

abstract fun isPropertyAnimatable(block: DesignBlock, property: String): Boolean

Check whether a property of a block can have keyframes. Experimental: this API may change in a minor release.

Return

true when the block has the property and the property is animatable. False for a property the block does not have.

Parameters

block

the block to query.

property

the property path.